package com.study.security.core.validate.code.impl.image.entity;

import com.study.security.core.validate.code.entity.ValidateCode;
import com.wf.captcha.GifCaptcha;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LiYongKui
 * @version 1.0
 * @date 2021/3/31 14:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ImageCode extends ValidateCode {

    private GifCaptcha captcha;

    public ImageCode(String code, int expireTime, GifCaptcha captcha) {
        super(code, expireTime);
        this.captcha = captcha;
    }
}
